import Mock from 'mockjs'
import account from './account'
import unit from './unit'

// 账户相关接口模拟
Mock.mock(/\/account\/login/, 'post', account.login)
Mock.mock(/\/account\/info\.*/, 'get', account.info)
Mock.mock(/\/account\/logout/, 'get', account.logout)

// 获取单位列表
Mock.mock(/\/unit\/list/, 'get', unit.getList)

// 获取操作日志

export default Mock
